﻿using Klear.Library.Models;

namespace Klear.Library.Services;

public interface ICategoryService
{
    Task<IList<CategoryModel>> GetCategoriesAsync();
    Task<IList<CategoryModel>> GetExpenseCategoriesAsync();
    Task<IList<CategoryModel>> GetIncomeCategoriesAsync();
    Task AddCategoryAsync(CategoryModel categoryModel);
    Task UpdateCategoryAsync(CategoryModel categoryModel);
    Task DeleteCategoryAsync(int id);
}